package sunsun.xiaoli.jiarebang.beans;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;

/**
 * @Author:Create by Mr.w
 * @Date:2018/11/24 15:50
 * @Description:
 */
public class EnterLivingRoom {

    /**
     * user_can_chat : 1
     * end_time : 0
     * room_can_chat : 1
     */

    private String user_can_chat;
    private String end_time;
    private String room_can_chat;
    private String anchor_id;
    @SerializedName("_anchor_info")
    private AnchorInfo anchorInfo;
    @SerializedName("_goods")
    private ArrayList<AnchorInfo> goods;
    private int likes;
    private int popularity, online;//人气，在线人数
    private String anchor_name;

    public ArrayList<AnchorInfo> getGoods() {
        return goods;
    }

    public void setGoods(ArrayList<AnchorInfo> goods) {
        this.goods = goods;
    }

    public int getOnline() {
        return online;
    }

    public void setOnline(int online) {
        this.online = online;
    }

    public int getPopularity() {
        return popularity;
    }

    public void setPopularity(int popularity) {
        this.popularity = popularity;
    }

    public String getAnchor_name() {
        return anchor_name;
    }

    public void setAnchor_name(String anchor_name) {
        this.anchor_name = anchor_name;
    }

    public String getAnchor_id() {
        return anchor_id;
    }

    public void setAnchor_id(String anchor_id) {
        this.anchor_id = anchor_id;
    }

    public AnchorInfo getAnchorInfo() {
        return anchorInfo;
    }

    public void setAnchorInfo(AnchorInfo anchorInfo) {
        this.anchorInfo = anchorInfo;
    }

    public String getUser_can_chat() {
        return user_can_chat;
    }

    public void setUser_can_chat(String user_can_chat) {
        this.user_can_chat = user_can_chat;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getRoom_can_chat() {
        return room_can_chat;
    }

    public void setRoom_can_chat(String room_can_chat) {
        this.room_can_chat = room_can_chat;
    }

    public int getLikes() {
        return likes;
    }

    public void setLikes(int likes) {
        this.likes = likes;
    }

    public static class AnchorInfo {
        private int popularity;//主播人气
        private int is_forbid;//进入的用户是否被禁言
        private int is_anchor;
        private String uid;
        /**
         * id : 8
         * room_id : 515
         * img_url : http://img1.sunsunxiaoli.com/upload/user_picture/other/20190604/bd661076c617aa1f4330742688e3b758.jpg
         * jump_url : http://api.sunsunxiaoli.com/web.php/productcenter/article?id=2177&sunsunfrom=app
         * title : 推荐产品
         * hidden : 0
         */

        private String id;
        private String room_id;
        private String img_url;
        private String jump_url;
        private String title;
        private int hidden;


        public int getIs_anchor() {
            return is_anchor;
        }

        public void setIs_anchor(int is_anchor) {
            this.is_anchor = is_anchor;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public int getPopularity() {
            return popularity;
        }

        public void setPopularity(int popularity) {
            this.popularity = popularity;
        }

        public int getIs_forbid() {
            return is_forbid;
        }

        public void setIs_forbid(int is_forbid) {
            this.is_forbid = is_forbid;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRoom_id() {
            return room_id;
        }

        public void setRoom_id(String room_id) {
            this.room_id = room_id;
        }

        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }

        public String getJump_url() {
            return jump_url;
        }

        public void setJump_url(String jump_url) {
            this.jump_url = jump_url;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getHidden() {
            return hidden;
        }

        public void setHidden(int hidden) {
            this.hidden = hidden;
        }
    }
}
